package com.yx.cloud.bean;

import java.io.Serializable;
import java.util.ArrayList;

public class AreaInfoBean implements Serializable {
    private String name;
    private int id;//id需要大于等于0，建议自动分区id预留0-100，其他分区id为100+
    private String tag;//与id一致
    private ArrayList<float[]> vertexs;//四个顶点表示一个区域，区域顶点应当顺时针给出，单位mm
    private String active;//normal表示普通清扫（扫一遍）；depth表示精细清扫（扫两遍）；forbid表示禁止清扫（禁区）；display表示家具展示（家具）
    private String forbidType;//仅当active字段为forbid时有意义all表示清扫或者拖地都生效的区域;sweep表示仅在清扫模式下生效的禁区;mop表示仅在拖地模式下生效的禁区
    private String mode;//default表示自定义区域；area表示划区清扫区域；point表示定点清扫区域；curpoint表示原地定点扫区域；room表示房间清扫；autolayer表示自动分区区域；furniture表示家具；
    private String areaType;
    private boolean  selectRegions;
    private int fanLevel = -1;
    private int waterPump = -1;

    public int getFanLevel() {
        return fanLevel;
    }

    public void setFanLevel(int fanLevel) {
        this.fanLevel = fanLevel;
    }

    public int getWaterPump() {
        return waterPump;
    }

    public void setWaterPump(int waterPump) {
        this.waterPump = waterPump;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public ArrayList<float[]> getVertexs() {
        return vertexs;
    }

    public void setVertexs(ArrayList<float[]> vertexs) {
        this.vertexs = vertexs;
    }

    public String getActive() {
        return active;
    }

    public void setActive(String active) {
        this.active = active;
    }

    public String getForbidType() {
        return forbidType;
    }

    public void setForbidType(String forbidType) {
        this.forbidType = forbidType;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getAreaType() {
        return areaType;
    }

    public void setAreaType(String areaType) {
        this.areaType = areaType;
    }

    public boolean isSelectRegions() {
        return selectRegions;
    }

    public void setSelectRegions(boolean selectRegions) {
        this.selectRegions = selectRegions;
    }

    public String getPathType() {
        return pathType;
    }

    public void setPathType(String pathType) {
        this.pathType = pathType;
    }

    private String pathType;//- normal表示普通(默认)- y_word表示Y字- repeat表示往复
}
